package cyou.breathe.blog.notice.infrastructure.exception;

import cyou.breathe.blog.base.exception.ErrorCode;

/**
 * @author: breathe
 * @createTime: 2025-08-27
 */
public enum NoticeErrorCode implements ErrorCode {

    VALIDATOR_ERROR("VALIDATOR_ERROR", "用户手机号或邮箱校验错误"),

    NOT_SUIT_SENDER("NOT_SUIT_SENDER", "没有合适的发送验证码的方式");

    private String code;

    private String message;

    NoticeErrorCode(String code, String message) {
        this.code = code;
        this.message = message;
    }

    @Override
    public String getCode() {
        return this.code;
    }

    @Override
    public String getMessage() {
        return this.message;
    }
}
